package org.loong.crypto.service.core.provider;

import java.util.Set;

import org.loong.crypto.core.algorithm.MessageDigestAlgorithm;
import org.loong.crypto.service.core.CryptoContextAware;

/**
 * MessageDigest Provider.
 */
public interface MessageDigestProvider extends CryptoProvider, CryptoContextAware {

    /**
     * Returns the names of the supported MessageDigest algorithms by the provider instance.
     *
     * @return the supported MessageDigest algorithms, empty set if none.
     */
    Set<MessageDigestAlgorithm> supportedMessageDigestAlgorithms();
}
